package org.tony.spider.novel.entries;

import java.io.Serializable;

public class Book
    implements Serializable
{
  private static final long serialVersionUID = 1L;

  private String            id;
  private String            name;
  private FromSite          fromSite;
  private String            url;
  private BookStatus        status;
  private String            lastUpdated;

  public String getId()
  {
    return id;
  }

  public void setId(String id)
  {
    this.id = id;
  }

  public String getName()
  {
    return name;
  }

  public void setName(String name)
  {
    this.name = name;
  }

  public FromSite getFromSite()
  {
    return fromSite;
  }

  public void setFromSite(FromSite fromSite)
  {
    this.fromSite = fromSite;
  }

  public String getUrl()
  {
    return url;
  }

  public void setUrl(String url)
  {
    this.url = url;
  }

  public BookStatus getStatus()
  {
    return status;
  }

  public void setStatus(BookStatus status)
  {
    this.status = status;
  }

  public String getLastUpdated()
  {
    return lastUpdated;
  }

  public void setLastUpdated(String lastUpdated)
  {
    this.lastUpdated = lastUpdated;
  }

  @Override
  public String toString()
  {
    return "Book [id=" + id + ", name=" + name + ", fromSite=" + fromSite + ", url=" + url + ", status="
        + status + ", lastUpdated=" + lastUpdated + "]";
  }

}
